package com.example.fpe_vote.mvc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class ReturnController {
    //默认页设置
    @RequestMapping("/")
    public String toFirstHtml(){
        return "login";
    }

    //用户首页返回接口
    @RequestMapping("/toIndex")
    public String toIndex(){
        return "index";
    }

    //回到登录页
    @RequestMapping("/toLogin")
    public String toLogin(){
        return "login";
    }

    //blog页面接口
    @RequestMapping("/blog")
    public String blog(){
        return "blog";
    }

    //blog-single登录
    @RequestMapping("/panel-left")
    public String panelLeft(){
        return "panel-left";
    }

    //跳转
    @RequestMapping("/panel-right")
    public String panelRight(){
        return "panel-right";
    }

    //cards跳转
    @RequestMapping("/voteInfo")
    public String voteInfo(){
        return "voteInfo";
    }

    @RequestMapping("/htAdmin")
    public String htAdmin(){
        return "htAdmin";
    }

    @RequestMapping("/htLogin")
    public String htLogin(){
        return "htLogin";
    }
    


}
